package com.oauth.components.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.RootPanel;

public class ComponentEntryPoint implements EntryPoint {

	private static ComponentEntryPointUiBinder uiBinder = GWT
			.create(ComponentEntryPointUiBinder.class);

	interface ComponentEntryPointUiBinder extends UiBinder<FlowPanel, ComponentEntryPoint> {
	}

	public void onModuleLoad() {
		FlowPanel dockPanel = uiBinder.createAndBindUi(this);
		// header.setUserName("Asdf@gmail.com");

		RootPanel rp = RootPanel.get();
		rp.add(dockPanel);
		/*
		 * JoinMemberWindow jwindow = new JoinMemberWindow(); RootPanel
		 * rootPanel = RootPanel.get("fwindow"); rootPanel.add(jwindow);
		 */
	}

}
